package com.linxb.client.hystrix;

import com.linxb.client.EurekaFeignClient;
import org.springframework.stereotype.Component;

/**
 * @Author: linxubin
 * @Description: 熔断器逻辑处理类
 * @Date: Created in 2018-07-01 13:35
 * @modified by:
 **/
@Component
public class HiHystrix implements EurekaFeignClient {
    @Override
    public String sayHiFromClientEureka(String name) {
        return "hi:" + name + ",sorry,I am error!";
    }


}
